package com.qitmiaojie.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data

public class HealthCode implements Serializable {
/*{"Name":"","IDNumber":"",
"Time":"07月20日 10:31:11",
"Color":"绿色","TestingInterval":"48小时",
"TestingResult":"阴性","TestingTime":"2022-07-19 22:27:22",
"Vaccination":"已接种3针","RequestId":"afbd2760-48ae-469d-ba7b-b5c4a6cbdcf2"}*/
/*com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field
"Name" (class com.qitmiaojie.pojo.HealthCode),
 not marked as ignorable (8 known properties:
 "color",
"idnumber", "testingInterval", "requestId", "name",
"time", "vaccination", "testingResult"])*/
/*private String color;
    private String idnumber;
    private String testingInterval;
    private String requestId;
    private String name;
    private String time;
    private String vaccination;
    private String testingResult;*/
    @JsonProperty("Name")
    private String Name;
    @JsonProperty("IDNumber")
    private String IDNumber;
    @JsonProperty("Time")
    private String Time;
    @JsonProperty("Color")
    private String Color;
    @JsonProperty("TestingInterval")
    private String TestingInterval;
    @JsonProperty("TestingResult")
    private String TestingResult;
    @JsonProperty("TestingTime")
    private String TestingTime;
    @JsonProperty("Vaccination")
    private String Vaccination;
    @JsonProperty("RequestId")
    private String RequestId;
private static final long serialVersionUID = -5246589941647210011L;
}
